home *** CD-ROM | disk | FTP | other *** search
- //
- // ModuleList.h
- //
- // munged from Lennart Lovstrand's StringStorage class
- // by sam to hold all the stuff BackSpace needs
-
- #import <objc/List.h>
- #import <objc/objc-load.h>
-
- @interface ModuleInfo:Object
- {
- id view;
- char *viewName;
- char *path;
- char *altPaths;
- struct mach_header *header;
- }
-
- - init;
- - initWithView:aView name:(const char *) aName path:(const char *) aPath;
- - setView:newView;
- - view;
- - setHeader:(struct mach_header *) h;
- - (struct mach_header *) header;
- - (const char *) viewName;
- - (const char *) path;
- - setPath:(const char *) p;
- - appendPath:(const char *) p;
- - useNextPath;
- - discardAltPaths;
- - free;
-
- @end
-
- @interface ModuleList:List { }
-
- - (const char *) nameAt:(int) i;
- - (int) indexOfName:(const char *) name;
- - viewAt:(int) i;
- - sort;
-
- @end
-